package com.woniu.mgr.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.woniu.mgr.controller.form.OrderModifyForm;
import com.woniu.mgr.model.Order;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 订单信息表 服务类
 * </p>
 *
 * @author Silas
 * @since 2023-02-15
 */
public interface OrderService extends IService<Order> {

    IPage<Order> list(Integer page, Integer size);

    void orderModify(OrderModifyForm orderModifyForm);

    IPage<Order> query(String condition, Integer page, Integer size);

    void access(Integer id);

    void refuse(Integer id, String reason);
}
